package com.sy.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sy.entity.Member;
import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
public class CoachSubDto {
    private Integer subjectId;
    private Integer coachId;
    /**课时数例如20节 30节*/
    private Integer duration;
    /**学员人数*/
    private Integer number;
    private String subjectName;
    private String subjectPrice;
//    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
//    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    List<Member> memberList;
}
